package com.ming.seatMonitoring.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ming.seatMonitoring.pojo.DO.BookRoomInfoDO;


/**
 * @author 小明
 * @date 2021/10/23
 * @description
 */
public interface UseManageService extends IService<BookRoomInfoDO> {

    int[]  getWeek(int roomId);

    int getCountByRoomId(int roomId);

    Page<BookRoomInfoDO> getCountByUserId(Page<BookRoomInfoDO> page, String userId);

    int getTotal(String userId);

    Page<BookRoomInfoDO> getListByRoomId(Page<BookRoomInfoDO> page, int roomId);
}
